<?php
namespace Superadmins\Model;

use Think\Model\ViewModel;

class SchoolRelationViewModel extends ViewModel
{
	public $viewFields = array(    
	 'SchoolRelation'=>array('school_type_id','school_id'), 
	
	 'School'=>array('_on'=>'SchoolRelation.school_id=School.school_id','school_name','school_id'),
	 'SchoolType'=>array('_on'=>'SchoolType.school_type_id=SchoolRelation.school_type_id','school_type_name','school_type_sort'),
	);


}